﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" MasterPageFile="../MasterPage.master" %>

<asp:Content ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>" SelectCommand="select * from courses"></asp:SqlDataSource>
    <div class="panel panel-default">
        <!-- Default panel contents -->
        <div class="panel-heading">
            <h1>Login</h1>
        </div>
        <div class="panel-body">
            <div class="col-md-3"></div>
            <div class="col-md-6">
                <p>
                    <asp:Label ID="Label1" runat="server" Text="Username" Font-Bold="True"></asp:Label>
                </p>
                <p>
                    <asp:TextBox ID="tbUsername" runat="server" CssClass="form-control" Width="388px"></asp:TextBox>
                </p>
                <p>
                    <asp:Label ID="Label2" runat="server" Text="Password" Font-Bold="True"></asp:Label>
                </p>
                <p>
                    <asp:TextBox ID="tbPass" runat="server" TextMode="Password" Style="margin-bottom: 0px" CssClass="form-control" Width="385px"></asp:TextBox>
                </p>
                <p>
                    <asp:Label ID="lbWarning" runat="server" Text="" ForeColor="red"></asp:Label>
                </p>
                <p>
                    <asp:Button ID="btLogin" runat="server" Text="Login" OnClick="Button1_Click" CssClass="btn btn-primary" />
                    <asp:Button ID="btnCancel" runat="server" Text="Cancel" CssClass="btn btn-default" />
                </p>
            </div>
            <div class="col-md-3"></div>
        </div>
    </div>
    </asp:Content>

<asp:Content ID="Content1" runat="server" contentplaceholderid="head">
    <style type="text/css">
        .auto-style1 {
            height: 26px;
        }
        .auto-style2 {
            height: 41px;
        }
        .auto-style3 {
            height: 17px;
        }
    </style>
</asp:Content>


